<template>
  <section></section>
</template>

<script>
import { setIdentity, setUserInfo } from '@/utils/userAuth'
export default {
  name: 'LogoutPage',
  created() {
    this.logout()
  },
  methods: {
    logout() {
      const params = {
        accessToken: '',
        refreshToken: '',
        expireTime: '',
        id: '',
      }
      setUserInfo(params)
      setIdentity()
      this.$router.push('/login')
    },
  },
}
</script>

<style lang='less' scoped>
</style>
